package com.zerocarbon.declaration.server.config;

import com.zerocarbon.framework.web.exception.DefaultGlobalExceptionAdvice;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestControllerAdvice;

/**
 * 全局异常处理
 */
@Configuration
@RestControllerAdvice
@ResponseBody
public class ExceptionConfiguration extends DefaultGlobalExceptionAdvice {
}
